package businesslogic.Orderbl;

import VO.OrderInfoVO;
import service.OrderService.ExceptionOrderService;
import util.Message;
import util.OrderType;
import util.RoomType;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class ExceptionOrder extends UnicastRemoteObject implements ExceptionOrderService{
    private static final long serialVersionUID = 4705832927978436598L;
    OrderInfoVO orderInfoVO=new OrderInfoVO("111111111111111111","root", OrderType.AbnormalOrder,"root", RoomType.FAMILY_ROOM,1,1,false,"1","1","1","1","1","1","1");

    public ExceptionOrder() throws RemoteException {
        super();
    }

    public OrderInfoVO getOrderInfo(String orderID)throws RemoteException {
    	OrderInfoVO orderVO=new OrderInfoVO("1", "2", null, null, null, 0, 0, false, null, null, null, null, null, null, null);
        
    	return orderVO;
    }
    public Message changeOrder(String orderID,String exception)throws RemoteException {
        return Message.SUCCESS;
    }
}
